#pragma once

class CEnumMgr
{
public:
    CEnumMgr(void);
    ~CEnumMgr(void);
    DWORD EnumPID(DWORD* dw);
    HWND* EnumWnd(int &num);
    DWORD GetPIDByName(CString name);
private:
    static BOOL CALLBACK EnumWindowsProc(HWND hwnd, LPARAM lParam);
    static HWND mAryWnd[1024];
};
